str = input("请输入")
count = 0
for i in str:
    if i == 'a':
        count += 1
print(f"a出现的次数为{count}")